package com.example.weather.po;

public class City {
    /*
     * 属性
     *
     * 方法
     *
     * 构造函数
     *
     */
    private String code;
    private String name;

    public City() {
    }

    public City(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
